package mediator.example;

/**
 * @Author：LJ
 * @Description：
 * @Date: 2017/11/28
 * @Modified By:
 */
public class Stock extends AbstarctColleague {
    public Stock(AbstarctMediator abstarctMediator) {
        super(abstarctMediator);
    }

    public void increase(int number) {

    }

    public void decrease(int number) {
    }

    public int getStockNumber() {
        return 100;
    }

    public void clearStock() {
        abstarctMediator.execute("stock.clear");
    }
}
